<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>角色管理</title>
    <link rel="stylesheet" href="css_js/css/bootstrap.min.css" />
    <link rel="stylesheet" href="dist/css/common.css" />
	<link rel="stylesheet" href="dist/css/role.css" />
    <link rel="stylesheet" href="css_js/layui/css/layui.css" />
</head>

<body ng-app="App" ng-controller="roleCtrl">
    <div class="bg_color">
        <div class="navbar text-center">
            <div class="nav_body">
                <img ng-click="go_back()" class="pull-left btn_top_left" src="dist/images/point/left.png">
                <span class="tit_title">角色管理</span>
                <img id="add_data" class="btn_top_right" src="dist/images/point/plus.png" ng-click="goAddRole()">
            </div>
        </div>
        <div class="content">
            <!-- role-list -->
            <div class="role-box">
                <div class="role-list-title">
                    <span class="rlt-p1">角色名称</span><span class="rlt-p2">角色描述</span><span class="rlt-p3">操作</span>
                </div>
                <div class="role-list" ng-repeat="item in roleList">
                    <span class="rl-name">{{item.name}}</span>
                    <span class="rl-des">{{item.des}}</span>
                    <span class="rl-edit" ng-click="editRole(item)"><i class="iconfont icon-edit"></i></span>
                    <span class="rl-del" ng-click="delRole(item)"><i class="iconfont icon-delete"></i></span>
                </div>
            </div>
            <!-- /role-list -->
        </div>
    </div>
    <script src="css_js/js/jquery.min.js"></script>
    <script src="css_js/js/angular.min.js"></script>
    <script src="css_js/js/angular-cookies.min.js"></script>
    <script src="css_js/js/bootstrap.min.js"></script>
    <script src="dist/controller/config.js"></script>
    <script src="dist/controller/roleCtrl.js"></script>
    <script src="css_js/layui/layui.all.js"></script>

</body>

</html>